package com.ourteam.system.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:17
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseSysMessageResourceDAO extends IDataAccessInterface<SysMessageResource, SysMessageResourceDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "SYS_MESSAGE_RESOURCE";

    /**
     * Mapped Field ID
    */
    static final String Id = "SYS_MESSAGE_RESOURCE.ID";

    /**
     * Mapped Field LOCAL_CODE
    */
    static final String LocalCode = "SYS_MESSAGE_RESOURCE.LOCAL_CODE";

    /**
     * Mapped Field MESSAGE_KEY_ID
    */
    static final String MessageKeyId = "SYS_MESSAGE_RESOURCE.MESSAGE_KEY_ID";

    /**
     * Mapped Field MESSAGE_VALUE
    */
    static final String MessageValue = "SYS_MESSAGE_RESOURCE.MESSAGE_VALUE";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "SYS_MESSAGE_RESOURCE.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "SYS_MESSAGE_RESOURCE.STATUS";

    /**
     * Mapped Attribute messageKey
    */
    static final String MessageKey = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageKeyDAO.MessageKey,
            com.ourteam.system.dao.ISysMessageKeyDAO.EntityName + ".",
            "sysMessageKey.");

    /**
     * Mapped Attribute messageCatalog
    */
    static final String MessageCatalog = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysMessageKeyDAO.MessageCatalog,
            com.ourteam.system.dao.ISysMessageKeyDAO.EntityName + ".",
            "sysMessageKey.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    SysMessageResource findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute messageKeyId
         */
        static final String MessageKeyId = "messageKeyId";

        /**
         * Attribute localCode
         */
        static final String LocalCode = "localCode";

        /**
         * Attribute messageValue
         */
        static final String MessageValue = "messageValue";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute messageKey
         */
        static final String MessageKey = "messageKey";

        /**
         * Attribute messageCatalog
         */
        static final String MessageCatalog = "messageCatalog";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
